package com.hzsk.lisence.service;

import com.alibaba.fastjson.JSONObject;
import com.hzsk.lisence.entity.SoftwareLicenseEntity;
import com.hzsk.lisence.entity.query.LisenceServiceQuery;

import java.io.InputStream;

public interface SoftwareLicenseService {

    String saveSoftwareLicense(SoftwareLicenseEntity softwareLicenseEntity,Integer userId);

    InputStream publishSoftwareLicense(Integer id, Integer userId) throws Exception;

    String publishSoftwareLicenseByJson(Integer userId,JSONObject data) throws Exception;

    SoftwareLicenseEntity getsoftwarelicenseById(Integer id);

    Object getSoftwareLicenseByUserId(LisenceServiceQuery lisenceServiceQuery);

    String updateSoftwareLicense(SoftwareLicenseEntity softwareLicenseEntity,Integer UserId);

    String delSoftwareLicense(Integer id,Integer operatorUserId);

    String confirmSoftwareLicense(Integer id,Integer operatorUserId);
}


